/**
 * 通用API接口
 */
import request, {DOMAIN} from './request'

let domain = ''

// 发送验证码
export const login = function (data) {
  return request({
    url: `${domain}/api/apps.ashx?action=login`,
    method: 'POST',
    data,
    showLoading:true
  })
}
